home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000074_fdc@columbia.edu_Tue Nov 12 13:25:00 EST 2002.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
3KB
|
55 lines
Article: 13840 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: telnet and pseudo-terminals
Date: 12 Nov 2002 13:24:43 -0500
Organization: Columbia University
Lines: 38
Message-ID: <aqrh1b$lph$1@watsol.cc.columbia.edu>
References: <e81154be.0211120928.281cafa6@posting.google.com> <aqrgnd$l1u$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1037125485 5849 128.59.39.139 (12 Nov 2002 18:24:45 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 12 Nov 2002 18:24:45 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13840
In article <aqrgnd$l1u$1@watsol.cc.columbia.edu>,
Frank da Cruz <fdc@columbia.edu> wrote:
: In article <e81154be.0211120928.281cafa6@posting.google.com>,
: Ysidro Salinas <ysidros@advmail.com> wrote:
: : Is it possible to use C-Kermit to provide "serial-like" input/output
: : through a telnet connection to another communication program? If so,
: : how? I've read about the pipe and pty features, the redirect feature,
: : and I've also scowered the "Using C-Kermit" book, but I'm not quite
: : sure if any of these do what I want. I have an existing comm program
: : that screen-scraps a remote system via a serial port, I'd like to
: : extend it to do exactly the same over a telnet connection, but I'd
: : really like to avoid writing code to perform the telnet protocol. Can
: : I use kermit to establish the telnet connection, feed input and output
: : to my program, and handle all the telnet communication at the same
: : time?
: :
: You could try the REDIRECT command:
:
: set host foo.bar.baz
: if fail ...
: redirect <name-and-args-of-your-screen-scraping-program>
:
: If your communications program uses stdio for the user end, it should
: work.
:
Never mind, as soon as I sent that off, I realized it was wrong. What
it would do would be to hook up the telnet host with the dialed-up host,
not substitute the dialed-up host for the Telnet host.
: If not, you could always rewrite the whole thing as a Kermit
: script, thus making it both transport- and platform-independent.
:
This is probably your best bet. Unless some kind of "shim" exists for
your platform that looks like a serial port and/or modem to the software,
but really is a Telnet client, like OS/2 VMODEM. I'm not aware of such
a thing for Unix, but you never know.
- Frank